<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/base/queryThesis.js">
</script>

<script type="text/javascript">
	$(function() {
		var disabled = ${disabled};
		var thesisInfo = ${thesisInfo};
		queryThesisDataGrid("${pageContext.request.contextPath}",disabled,thesisInfo);
	});
</script>

<div class="easyui-layout" fit="ture" id="queryThesis-mainBody" style="height:100%">

	<!-- Data List -->
	<div data-options="region:'center',border:false" style="padding: 5px; height: 80%">
		<table id="queryThesis-data-list"></table>
	</div>

	<!-- 上传论文弹出框 -->
	<div id="paperUpload-edit-win" class="imoia_pop" style="width: 440px;">
		<div class="imoia_pop_title">
			<strong>提交论文</strong><span class="imoia_pop_closed"
				onClick="popClosed('paperUpload-edit-win')">关闭</span>
		</div>
		<form id="paperUploadForm"
			<%-- action="${pageContext.request.contextPath}/fileHandle/upLoadFile.do" --%>
			method="post" enctype="multipart/form-data">
			<div class="imoia_pop_con">
				<ul>
					<li>
						<strong>专业名称:</strong>
						<span><input class="imoia_intxt" type="text" id="paper_majorname" name="majorname" readonly /></span>
					</li>
					<li>
						<strong>课题名称:</strong>
						<span><input class="imoia_intxt" type="text" id="paper_thesisName" name="thesisName" readonly /></span>
					</li>
					<li>
						<strong>指导教师:</strong>
						<span><input class="imoia_intxt" type="text" id="paper_teacherName" name="teacherName" readonly /></span>
					</li>
					<li>
						<strong>选择文件：</strong>
						<span><input type="file" name="file" /></span>
					</li>
				</ul>
			</div>
			<div class="imoia_pop_btn">
				<span><input type="button"  value="保存"
					class="imoia_pop_btn_save" onclick="paperSubmit('${pageContext.request.contextPath}/fileHandle/upLoadFile.do')"/></span>
				<span><input type="button" id="factory-close" value="关闭"
					class="imoia_pop_btn_closed" onClick="popClosed('paperUpload-edit-win')" /></span>
			</div>
		</form>
		<div class="imoia_pop_error" id="paperUpload-edit-error">
			<p></p>
		</div>
		<div class="imoia_pop_correct" id="paperUpload-edit-info">
			<p></p>
		</div>
	</div>
	
	<div hidden="true">
	
		 <form id="download"  action="${pageContext.request.contextPath}/fileHandle/downLoadFile.do" style="border:1px solid grey;width:auto;" method="post">  
         	  文件路径：<input type="text" id="fileName" name="fileName"/>   
 		  </form> 
	
	</div>
 </div>